package com.boyon.customer.entity;

import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.Data;

@Data
@Entity
@Table(name = "base_finance", catalog = "boyon_customer")
public class Finace implements java.io.Serializable {

	/**
	 * serialVersionUID:.
	 * 
	 * @since JDK 1.8
	 */
	private static final long serialVersionUID = -6740429256856545503L;
	@Id
	@Column(name = "customer_id", unique = true, nullable = false)
	private Long customerId;
	@Column(name = "credit_price", precision = 10, scale = 2)
	private BigDecimal creditPrice;
	@Column(name = "pay_type")
	private Integer payType;
	@Column(name = "settlement_type")
	private Integer settlementType;
	@Column(name = "invoice_type")
	private Integer invoiceType;
	@Column(name = "bank_name", length = 32)
	private String bankName;
	@Column(name = "account_name", length = 32)
	private String accountName;
	@Column(name = "account", length = 32)
	private String account;

}